home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Audio / GISO / Source / Controller.h next >
Text File  |  1994-01-26  |  2KB  |  99 lines

  1. /*    
  2. **    Copyright (C) 1992  Ronin Consulting, Inc.
  3. **
  4. **    This program is free software; you can redistribute it and/or modify
  5. **    it under the terms of the GNU General Public License as published by
  6. **    the Free Software Foundation; version 1.
  7. **
  8. **    This program is distributed in the hope that it will be useful,
  9. **    but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. **    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11. **    GNU General Public License for more details.
  12. **
  13. **    You should have received a copy of the GNU General Public License
  14. **    along with this program; if not, write to the Free Software
  15. **    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. */
  17. #import <objc/Object.h>
  18.  
  19. @interface Controller:Object
  20. {
  21.     id inType;
  22.     id outType;
  23.     id inRate;
  24.     id outRate;
  25.     id inRateText;
  26.     id outRateText;
  27.     id inDataForm;
  28.     id outDataForm;
  29.     id inDataSize;
  30.     id outDataSize;
  31.     id inChannels;
  32.     id outChannels;
  33.     id inHotList;
  34.     id outHotList;
  35.     id volume;
  36.     id dialog;
  37.     id swapBytes;
  38.     id effect;
  39.     id effectArgText;
  40.     id playButton;
  41.     id whichRadio;
  42.     id entryName;
  43.  
  44.     id panel;
  45.     id openPanel;
  46.     id inFile;
  47.     id savePanel;
  48.     id outFile;
  49.     id dataFormSwitches;
  50.     id dataSizeSwitches;
  51.     id inHotListStr;
  52.     id inHotListConfig;
  53.     id outHotListStr;
  54.     id outHotListConfig;
  55.     id strings;
  56.     id theSound;
  57.     id soundMeter;
  58.     id convert;
  59.     id defaults;
  60.     id infoController;
  61.     id subprocess;
  62. }
  63.  
  64. - init;
  65. - convert:sender;
  66. - openFile:sender;
  67. - saveFile:sender;
  68. - saveToHotList: sender;
  69. - loadFromHotList: sender;
  70. - playIt: sender;
  71. - stopPlay: sender;
  72.  
  73. - copyValue: sender;
  74.  
  75. - (int)loadPopUpList: button with: strings from: (int) count;
  76.  
  77. /* Application Delegate */
  78.  
  79. - appDidInit: sender;
  80. - cleanKill: sender;                 /* not a delegate but App related */
  81. - (BOOL)appAcceptsAnotherFile:sender;
  82. - (int)app:sender openFile:(const char *)filename type:(const char *)aType;
  83.  
  84. /* Sound Delegates */
  85.  
  86. - willPlay: sender;
  87. - didPlay: sender;
  88. - hadError: sender;
  89.  
  90. /* Subprocess Delegates */
  91.  
  92. - subprocess:sender done:(int)exitStatus;
  93. - subprocess:sender output:(char *)buffer;
  94. - subprocess:sender stderrOutput:(char *)buffer;
  95. - subprocess:sender error:(const char *)errorString;
  96.  
  97.  
  98. @end
  99.